package view.cms.desktop.events
{
    import flash.events.*;
    import flash.geom.*;

    public class ResizeEvent extends Event 
    {
        public var size:Point;
        public var allowScaleX:Boolean;
        public var allowScaleY:Boolean;

        public static const RESIZE_MANIPULATOR:String = "resizeManipulator";
        public static const RESIZE_SHAPE:String = "resizeShape";

        public function ResizeEvent(type:String, bubbles:Boolean, cancelable:Boolean, size:Point=null, 
        	scaleX:Boolean=true, scaleY:Boolean=true):void
        {
            this.size = size;
            this.allowScaleX = scaleX;
            this.allowScaleY = scaleY;
            super(type,bubbles,cancelable);
        }
    }
}



